package com.book.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: 125715
 * @Package: com.book.model.vo
 * @Date: 2025/4/12 4:10
 * @Description: 书本查询VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "BookQueryDTO", description = "书本查询DTO")
public class BookQueryVO {

    @Schema(name = "书本ID")
    private String bookId;

    @Schema(name = "书名")
    private String name;

    @Schema(name = "作者")
    private String author;

    @Schema(name = "原价")
    private BigDecimal originPrice;

    @Schema(name = "价格")
    private BigDecimal price;

    @Schema(name = "书本图片")
    private String picture;

    @ApiModelProperty("ISBN编号")
    private String isbn;

    @ApiModelProperty("主键")
    private String bookDetailId;

    @ApiModelProperty("出版社")
    private String publisher;

    @ApiModelProperty("出版地")
    private String publishLocation;

    @ApiModelProperty("出版时间")
    private Date publishDate;

    @ApiModelProperty("装帧方式")
    private String bindingType;

    @ApiModelProperty("开本")
    private String bookSize;

    @ApiModelProperty("页数")
    private Long pageSize;

    @ApiModelProperty("摘要")
    private String summary;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
